- Title
- DeepAM: migrate APIs with multi-modal sequence to sequence learning
- Creator
- Gu, Xiaodong; Zhang, Hongyu; Zhang, Dongmei; Kim, Sunghun
- Relation
- Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17). Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence (IJCAI-17) (Melbourne 19-25 August, 2017) p. 3675-3681
- Publisher Link
- http://dx.doi.org/10.24963/ijcai.2017/514
- Publisher
- International Joint Conferences on Artificial Intelligence
- Resource Type
- conference paper
- Date
- 2017
- Description
- Computer programs written in one language are often required to be ported to other languages to support multiple devices and environments. When programs use language specific APIs (Application Programming Interfaces), it is very challenging to migrate these APIs to the corresponding APIs written in other languages. Existing approaches mine API mappings from projects that have corresponding versions in two languages. They rely on the sparse availability of bilingual projects, thus producing a limited number of API mappings. In this paper, we propose an intelligent system called DeepAM for automatically mining API mappings from a large-scale code corpus without bilingual projects. The key component of DeepAM is based on the multi-modal sequence to sequence learning architecture that aims to learn joint semantic representations of bilingual API sequences from big source code data. Experimental results indicate that DeepAM significantly increases the accuracy of API mappings as well as the number of API mappings when compared with the state-of-the-art approaches.
- Subject
- knowledge-based software engineering; bilingual APIs; API mappings
- Identifier
- http://hdl.handle.net/1959.13/1350288
- Identifier
- uon:30525
- Identifier
- ISBN:9780999241103
- Language
- eng
- Full Text
- Reviewed
- Hits: 890
- Visitors: 1533
- Downloads: 456
Thumbnail | File | Description | Size | Format | |||
---|---|---|---|---|---|---|---|
View Details Download | ATTACHMENT02 | Publisher version (open access) | 366 KB | Adobe Acrobat PDF | View Details Download |